package com.zhku.meeting.mapper;

import com.zhku.meeting.entities.Department;
import com.zhku.meeting.entities.Equipment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EquipmentMapper {

    List<Equipment> selectAll();

//    List<Equipment> duplicateCheck(Equipment equipment);

    int updateByPrimaryKey(Equipment equipment);

    int insert(Equipment equipment);

    int deleteByPrimaryKey(Integer equipId);

    List<Equipment> selectByCondition(Equipment equipment);

    Department selectByPrimaryKey(Integer id);
}
